package com.ndp.fb.model.fbagent.result.businesses;

import com.ndp.fb.model.fbagent.result.AbstractFacebookResult;
import com.restfb.Facebook;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * Created by Mikey.zhaopeng on 2014/10/31 15:21.
 * Email mikey.zhao@ndpmedia.com
 */
@Setter
@Getter
@NoArgsConstructor
public class UserpermissionsResult extends AbstractFacebookResult {

    @Facebook
    private String email;

    @Facebook
    private User user;
    @Facebook
    private String role;
    @Facebook
    private String status;

    @Facebook("adaccount_permissions")
    private List<FBAdaccountPermission> adaccountPermissions;
    @Facebook("page_permissions")
    private List<FBPagePermission> pagePermissions;

}
